Total Complexity | 32 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 133 |
Lines of code | 93 |
Logical lines of code | 57 |
Comment lines | 0 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
coupon_check_valid_product_on_sale() | 51 | 9 | 27 | |
coupon_check_valid_cart_include_sale_items() | 56 | 6 | 19 | |
allow_add_yaydp_coupon_when_other_is_single_use() | 66 | 5 | 9 | |
check_valid_individual_use() | 61 | 4 | 13 | |
__construct() | 61 | 3 | 11 | |
keep_yaydp_coupon_when_other_is_single_use() | 67 | 3 | 8 | |
get_error_message() | 70 | 2 | 6 |